package cn.audit.bean.dto;

import cn.audit.bean.pojo.Approval;
import cn.audit.bean.pojo.AuditPlan;
import cn.audit.bean.pojo.Message;
import cn.audit.bean.pojo.User;

/**
 * @Author: 钟琪
 * @Date: 2019/5/28 16:37
 */
public class zuzhangzhengshuai {
    private AuditPlan auditPlan;
    private User user;
    private Approval approval;
    private Message message;

    public Message getMessage() {
        return message;
    }

    public void setMessage(Message message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "zuzhangzhengshuai{" +
                "auditPlan=" + auditPlan +
                ", user=" + user +
                ", approval=" + approval +
                ", message=" + message +
                '}';
    }

    public zuzhangzhengshuai(User user, Message message) {

        this.user = user;
        this.message = message;
    }



    public zuzhangzhengshuai(User user, Approval approval) {
        this.user = user;
        this.approval = approval;
    }

    public zuzhangzhengshuai(AuditPlan auditPlan, User user) {
        this.auditPlan = auditPlan;
        this.user = user;
    }


    public zuzhangzhengshuai(AuditPlan auditPlan, User user, Approval approval) {
        this.auditPlan = auditPlan;
        this.user = user;
        this.approval = approval;
    }

    public Approval getApproval() {
        return approval;
    }

    public void setApproval(Approval approval) {
        this.approval = approval;
    }

    public AuditPlan getAuditPlan() {
        return auditPlan;
    }

    public void setAuditPlan(AuditPlan auditPlan) {
        this.auditPlan = auditPlan;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

}
